home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Programming / tek / debug.h < prev    next >
C/C++ Source or Header  |  2001-05-12  |  445b  |  23 lines

  1.  
  2. #ifndef _TEK_DEBUG_H
  3. #define _TEK_DEBUG_H 1
  4.  
  5. /* 
  6. **    debugging
  7. */
  8.  
  9. #include <tek/type.h>
  10.  
  11. #ifdef TDEBUG
  12.     #define    tdbprintf(l,x)        {if (l > 0 && l >= TDEBUG) platform_dbprintf(x);}
  13.     #define    tdbprintf1(l,x,a)    {if (l > 0 && l >= TDEBUG) platform_dbprintf1(x,a);}
  14.     #define    tdbprintf2(l,x,a,b)    {if (l > 0 && l >= TDEBUG) platform_dbprintf2(x,a,b);}
  15. #else
  16.     #define    tdbprintf(l,x)
  17.     #define    tdbprintf1(l,x,a)
  18.     #define    tdbprintf2(l,x,a,b)
  19. #endif
  20.  
  21.  
  22. #endif
  23.